package xyz.riceball.develop.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import xyz.riceball.develop.entity.po.AssistSearchPO;
import xyz.riceball.framework.core.bean.ApiR;
import xyz.riceball.framework.core.bean.ApiRc;

import java.util.List;


/**
 * 辅助缓存 Service接口层
 *
 * @author xiaovcloud
 * @since 2022-07-02 10:58:37
 */
public interface AssistSearchService extends IService<AssistSearchPO> {

    /**
     * 分页查询辅助查询
     *
     * @param of
     * @param menuPO
     * @return
     */
    Page<AssistSearchPO> selectPage(Page<AssistSearchPO> of, AssistSearchPO assistSearchPO);

    /**
     * 新增辅助查询
     *
     * @param menuPO
     * @return
     */
    ApiR<AssistSearchPO> add(AssistSearchPO assistSearchPO);

    /**
     * 修改辅助查询
     *
     * @param menuPO
     * @return
     */
    boolean edit(AssistSearchPO assistSearchPO);

    /**
     * 删除辅助查询
     *
     * @param ids
     * @return
     */
    ApiRc<Void> delete(List<String> ids);
}

